package com.ruoyi.app.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;


/**
 * app用户等级视图对象
 *
 * @author Zach
 * @date 2023-11-14
 */
@Data
@ExcelIgnoreUnannotated
public class AppUserLevelVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 等级名称
     */
    @ExcelProperty(value = "等级名称")
    private String name;

    /**
     * 分润满足人数条件
     */
    @ExcelProperty(value = "分润满足人数条件")
    private Long frConditionNum;

    /**
     * 分润单个人员满足金额
     */
    @ExcelProperty(value = "分润单个人员满足金额")
    private Long frConditionMoney;

    /**
     * 分润比例
     */
    @ExcelProperty(value = "分润比例")
    private Long rebate;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "user_status")
    private Long status;


}
